#include "logger.h"

Logger* Logger::m_pInstance = NULL;

Logger* Logger::Instance()
{
    if(m_pInstance == 0)
            m_pInstance = new Logger();
    return m_pInstance;
}

Logger::Logger()
{
}

void Logger::addLogEntry(const QString text)
{
    /*if (!text.endsWith("\n"))
        text.append("\n");*/
    emit entryAdded(text);
}
